package com.xbongbong.paas.field;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author: lee
 * @date: 2020/9/9 19:24
 * @desrcption:
 */
@Getter
@Setter
@ToString
public class UnitItemPoJo implements Serializable {

    private static final long serialVersionUID = 2102942351046960506L;

    private Long groupId;

    /**
     * 显示的值
     */
    private String text;

    /***
     * 保存的值
     */
    private Long value;

    private Integer isBase;

    private Double rate;

    private Integer sort;

    private Integer accuracy;

    public UnitItemPoJo() {
    }

    public UnitItemPoJo(Long groupId, String text, Long value, Integer isBase, Double rate, Integer sort) {
        this.groupId = groupId;
        this.text = text;
        this.value = value;
        this.isBase = isBase;
        this.rate = rate;
        this.sort = sort;
    }
}
